package com.tensquare.friend.config;
/*
 *ClassName:WebSocketConfig
 *Description:WebSocket的配置类，用来实现私信
 *@author:可爱的大鸭子
 */

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;


@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
